﻿#ifndef CLOCKITEMFRAGMENT_H
#define CLOCKITEMFRAGMENT_H

#include <QWidget>
#include "event.h"
#include "mclock.h"
namespace Ui {
class ClockItemFragment;
}

class ClockItemFragment : public QWidget
{
    Q_OBJECT

public:
    ClockItemFragment(Clock clock,QWidget *parent = nullptr);
    ~ClockItemFragment();
    bool isChosen();
    Clock getClock();
private slots:
    void on_pushButton_edit_clicked();

    void on_checkBox_stateChanged(int arg1);

private:
    Ui::ClockItemFragment *ui;
    Clock clock;
    bool chosen = false;
};

#endif // CLOCKITEMFRAGMENT_H
